<?php
namespace backend\models\article;

use yii\db\ActiveRecord;

class User extends ActiveRecord
{
    /**
     * @return string 返回该AR类关联的数据表名
     */
    public static function tableName()
    {
        return 'edu_admin';
    }
   


   /** 
     * @inheritdoc 
     */  
    public function GetUser($user_id)  
    {  
        return self::find()->where(['id'=>$user_id])->asarray()->one();
    }
}
?>